<div class="cust-pagination">
  <span>当前显示 {{totalRecord==0?0:(currentPage-1)*showRecord+1}} 到 {{currentPage*showRecord>totalRecord?totalRecord:currentPage*showRecord}} 条，共 {{totalRecord}} 条记录。</span>
  <ul>
    <li class="prev" [ngClass]="{'disabled': currentPage==1}" (click)="queryData('prev')">上一页</li>
    <li *ngFor="let page of pages" [ngClass]="{'current': currentPage==page}"
      (click)="queryData(page)">{{page}}</li>
    <li class="next" [ngClass]="{'disabled': currentPage==totalPage}" (click)="queryData('next')">下一页</li>
  </ul>
</div>
